home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Profi Tools / DiskSpeed / src / renderinfo.h < prev    next >
C/C++ Source or Header  |  1998-07-30  |  3KB  |  79 lines

  1. /*
  2.  * MKSoft Development Amiga ToolKit V1.0
  3.  *
  4.  * Copyright (c) 1985,86,87,88,89,90 by MKSoft Development
  5.  *
  6.  *                          DiskSpeed v4.2
  7.  *                          ScsiSpeed v4.2
  8.  *                                by
  9.  *                           Michael Sinz
  10.  *
  11.  *            Copyright (c) 1989-1992 by MKSoft Development
  12.  *
  13.  *            MKSoft Development
  14.  *            163 Appledore Drive
  15.  *            Downingtown, PA 19335
  16.  *
  17.  * Yes, this is yet another disk speed testing program, but with a few
  18.  * differences.  It was designed to give the most accurate results of the
  19.  * true disk performance in the system.  For this reason many of
  20.  * DiskSpeed's results may look either lower or higher than current disk
  21.  * performance tests.
  22.  *
  23.  ******************************************************************************
  24.  *                                          *
  25.  *    Reading legal mush can turn your brain into guacamole!              *
  26.  *                                          *
  27.  *        So here is some of that legal mush:                  *
  28.  *                                          *
  29.  * Permission is hereby granted to distribute this program's source          *
  30.  * executable, and documentation for non-commercial purposes, so long as the  *
  31.  * copyright notices are not removed from the sources, executable or          *
  32.  * documentation.  This program may not be distributed for a profit without   *
  33.  * the express written consent of the author Michael Sinz.              *
  34.  *                                          *
  35.  * This program is not in the public domain.                      *
  36.  *                                          *
  37.  * Fred Fish is expressly granted permission to distribute this program's     *
  38.  * source and executable as part of the "Fred Fish freely redistributable     *
  39.  * Amiga software library."                              *
  40.  *                                          *
  41.  * Permission is expressly granted for this program and it's source to be     *
  42.  * distributed as part of the Amicus Amiga software disks, and the          *
  43.  * First Amiga User Group's Hot Mix disks.                      *
  44.  *                                          *
  45.  ******************************************************************************
  46.  */
  47.  
  48. /*
  49.  * This file contains the definition of the rendering information
  50.  * for elements on the screen.  This information is used to generate
  51.  * the correct pen colours for items on the screen...
  52.  *
  53.  * Note, that to call this function you MUST have Intuition and Graphics
  54.  * libraries open...
  55.  */
  56.  
  57. #ifndef    MKS_RENDERINFO_H
  58. #define    MKS_RENDERINFO_H
  59.  
  60. #include    <exec/types.h>
  61. #include    <graphics/text.h>
  62. #include    <intuition/screens.h>
  63.  
  64. struct RenderInfo
  65. {
  66.     UBYTE        Highlight;    /* Standard Highlight    */
  67.     UBYTE        Shadow;        /* Standard Shadow    */
  68.     UBYTE        TextPen;    /* Requester Text Pen    */
  69.     UBYTE        BackPen;    /* Requester Back Fill    */
  70.  
  71.     UBYTE        WindowTitle;    /* Window title size    */    /* includes border */
  72.     UBYTE        junk_pad;
  73. };
  74.  
  75. VOID CleanUp_RenderInfo(struct RenderInfo *);
  76. struct RenderInfo *Get_RenderInfo(struct Screen *);
  77.  
  78. #endif    /* MKS_RENDERINFO_H */
  79.